<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录页</title>
    <link href="../bootstrap/css/bootstrap.min.css" rel="stylesheet">
</head>
<body ng-app="myApp">
    <div ng-controller="loginController" style="margin-top: 250px;" class="container" >
        <div class="col-sm-3"></div>
        <div class="col-sm-5">
                    <form name="loginForm" class="form-horizontal">
                        <div class="form-group">
                            <label for="email" class="col-sm-2 control-label">用户名</label>
                            <div class="col-sm-10">
                                <input type="email" class="form-control" id="email" name="email" placeholder="Email" ng-model="email">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="password" class="col-sm-2 control-label">密码</label>
                            <div class="col-sm-10">
                                <div class="form-group">
                                    <div class="col-sm-8">
                                        <input type="password" class="form-control" id="password" name="password" placeholder="Password" ng-model="password">
                                    </div>
                                    <div class="col-sm-4">
                                        <label id="passwordMsg" class="control-label" style="color: red;" hidden>密码不允许为空</label>
                                    </div>
                                </div>

                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label"></label>
                            <div class="col-sm-5">
                                <input type="text" class="form-control" id="testauthcode" ng-model="testauthcode"
                                       data-container="body" data-toggle="popover" data-placement="top"
                                       data-content="验证码不正确">
                            </div>
                            <div class="col-sm-5">
                                <button type="button" class="btn btn-default" ng-bind="authcode" ng-click="changeAuthCode()"></button>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <div class="checkbox">
                                    <label>
                                        <input type="checkbox"> 记住一周
                                    </label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <button type="button" class="btn btn-default" ng-click="login()">登录</button>
                            </div>
                        </div>

                    </form>
        </div>
        <div class="col-sm-4"></div>
    </div>
    <script src="../angular/angular.js"></script>
    <script src="../js/jquery.js"></script>
    <script src="../bootstrap/js/bootstrap.js"></script>
    <script src="../pc/login/login.js"></script>
</body>
</html>